/**
 * 
 */
package com.oauth.twitter.server.service;

import java.util.List;

import com.oauth.service.global.beans.OAuthAccessToken;
import com.oauth.service.global.beans.OAuthRequestToken;
import com.oauth.twitter.client.beans.Tweet;
import com.oauth.twitter.client.beans.TwitterUser;

/**
 * @author asanthan
 * 
 */
public interface TwitterService {

	Tweet updateTweet(String pTweetText, Long pMemberId) throws Exception;

	List<Tweet> getTweets(Long pMemberId) throws Exception;

	TwitterUser getUserInfo(Long pMemberId) throws Exception;

	/**
	 * @return
	 * @throws Exception
	 */
	OAuthAccessToken getAccessToken(com.oauth.service.global.beans.OAuthRequestToken requestToken)
			throws Exception;

	/**
	 * @return
	 * @throws Exception
	 */
	OAuthRequestToken getRequestToken() throws Exception;

}
